package com.rgs.gateway.admin.feignclient.client;

import com.rgs.gateway.common.pojo.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author RenGaoshuai
 * @date 2024/6/28 11:11
 * @description
 */
@FeignClient(value = "gateway-admin")
public interface GatewayAdminFeignClient {

    @ApiOperation(value = "重载网关路由", notes = "将所以网关的路由全部重载到redis中")
    @GetMapping(value = "/gateway/routes/overload")
    Result overload();
}
